#version 450 core

layout(location = 0) in vec4 position;
layout(location = 1) in vec4 color;

uniform mat4 modelMatrix;
uniform mat4 viewMatrix;
uniform mat4 projectionMatrix;

out Varyings
{
    vec4 color;
} vsOut;

void main()
{
    gl_Position = projectionMatrix * viewMatrix * modelMatrix * position;
    vsOut.color = color;
}
